home *** CD-ROM | disk | FTP | other *** search
- .TH TFROMSRFS
- 6 "IRIT Version 6.0"
- .SH NAME
- TFROMSRFS
-
-
-
- TrivarType TFROMSRFS( ListType SrfList, NumericType OtherOrder )
-
- Constructs a trivariate by substituting the surfaces in SrfList as
- planes in a control mesh of a trivariate. Surfaces in SrfList are
- made compatible by promoting Bezier surfaces to Bsplines if necessary,
- and raising degree and refining as required before substituting the
- control meshes of the surfaces as planes in the mesh of the trivariate.
- The other, third, direction order is set by OtherOrder, which cannot
- be larger than the number of surfaces.
-
- The trivariate interpolates the first and last surfaces only.
-
- Example:
-
- s1 = sbezier( list( list( ctlpt( E3, -0.5, -0.5, 0 ),
- ctlpt( E3, -0.5, 0.5, 0 ) ),
- list( ctlpt( E3, 0.5, -0.5, 0 ),
- ctlpt( E3, 0.5, 0.5, 0 ) ) ) ) * sc( 0.3 );
- Srfs = list( s1 * sc( 2.0 ),
- s1 * sx( 1.4 ) * ry( 45 ) * tz( 1.0 ),
- s1 * ry( 90 ) * trans( vector( 1.0, 0.0, 1.1 ) ),
- s1 * sx( 1.4 ) * ry( 135 ) * trans( vector( 2.0, 0.0, 1.0 ) ),
- s1 * sc( 2.0 ) * ry( 180 ) * trans( vector( 2.0, 0.0, 0.0 ) ) );
- color( Srfs, red );
-
- ts = tfromsrfs( Srfs, 3 );
- color( ts, green );
- view( list( Srfs, ts ), on );
-
- Constructs a trivariate from five planar surfaces and display both the
- trivariate and the five planar surfaces, in different colors.
-